package com.glsc.ngateway.common.base.dto.opmanage.report.subscribe;


import com.glsc.ngateway.common.base.domain.mysql.opmanage.report.subscribe.UserReportSubscribeTask;

import java.math.BigInteger;
import java.time.LocalDateTime;

/**
 * @author: qiyr
 * @date: 2022/6/14 16:40
 * @description: 报表订阅任务Dto
 */
public class UserReportSubscribeTaskDto extends UserReportSubscribeTask {

    private Integer mailStatus;

    private String mailMsg;

    private ReportMailInfoDto infoDto;

    public UserReportSubscribeTaskDto() {
    }

    public UserReportSubscribeTaskDto(BigInteger id, String subscribeId, BigInteger mailId, String reportMailInfo,
                                      String username, String userEmail, String taskStatus, String taskMsg,
                                      LocalDateTime createTime, LocalDateTime updateTime, Integer mailStatus,
                                      String mailMsg, ReportMailInfoDto infoDto) {
        this.setId(id);
        this.setSubscribeId(subscribeId);
        this.setMailId(mailId);
        this.setReportMailInfo(reportMailInfo);
        this.setUsername(username);
        this.setUserEmail(userEmail);
        this.setTaskStatus(taskStatus);
        this.setTaskMsg(taskMsg);
        this.setCreateTime(createTime);
        this.setUpdateTime(updateTime);
        this.mailStatus = mailStatus;
        this.mailMsg = mailMsg;
        this.infoDto = infoDto;
    }

    public Integer getMailStatus() {
        return mailStatus;
    }

    public void setMailStatus(Integer mailStatus) {
        this.mailStatus = mailStatus;
    }

    public String getMailMsg() {
        return mailMsg;
    }

    public void setMailMsg(String mailMsg) {
        this.mailMsg = mailMsg;
    }

    public ReportMailInfoDto getInfoDto() {
        return infoDto;
    }

    public void setInfoDto(ReportMailInfoDto infoDto) {
        this.infoDto = infoDto;
    }
}
